From: Richard M. Stallman Date: Thu, 25 Nov 1993 09:38:56 +0000 (+0000) Subject: (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~93885 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3;p=emacs.git (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define. --- diff --git a/src/m/hp800.h b/src/m/hp800.h index 1b0e8143d89..c20403713ce 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h @@ -174,10 +174,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif /* Define the BSTRING functions in terms of the sysV functions. */ +/* On HPUX 8.05, including types.h can include strings.h + which defines these as macros. Hence the #ifndefs. */ +#ifndef HAVE_BCOPY #define bcopy(a,b,s) memcpy (b,a,s) #define bzero(a,s) memset (a,0,s) #define bcmp memcmp +#endif /* On USG systems these have different names. */